import request from '../utils/request'

// 查询菜单
export function selectSysMenuVO(params) {
  return request({
    url: '/sysMenu/selectSysMenuVO',
    method: 'get',
    params
  })
}

// 创建菜单
export function saveOrUpdateMenu(params) {
  return request({
    url: '/sysMenu/saveOrUpdateMenu',
    method: 'post',
    data: params
  })
}

// 级联删除菜单
export function remove(params) {
  return request({
    url: '/sysMenu/remove',
    method: 'get',
    params
  })
}
